import { Menus } from '@/types/menu';

export const menuData: Menus[] = [
    {
        id: '0',
        title: '数据看板',
        index: '/dashboard',
        icon: 'Odometer',
    },

    {
        id: '2',
        title: '财务管理',
        index: '2i',
        icon: 'iconfont icon-caiwu',
        children: [
            {
                id: '21',
                pid: '2i',
                index: '/bank-management',
                title: '银行管理',
            },
            {
                id: '22',
                pid: '2i',
                index: '/loan-management',
                title: '贷款管理',
            },
            {
                id: '22',
                pid: '2i',
                index: '/finance-management',
                title: '资金管理',
            }
        ],
    },

    {
        id: '3',
        title: '经营项目',
        index: '3i',
        icon: 'iconfont icon-jingyingguanli',
        children: [
            {
                id: '31',
                pid: '3i',
                index: '/business-project-management',

                title: '项目信息维护',
            },
            {
                id: '32',
                pid: '3i',
                index: '/business-utility-management',
                title: '水电费管理',
            },
            {
                id: '33',
                pid: '3i',
                index: '/business-revenue-management',

                title: '当日营收情况',
            },
        ],
    },

    {
        id: '4',
        title: '产业园',
        index: '4i',
        icon: 'iconfont icon-chanyeyuanqu-',
        children: [
            {
                id: '41',
                pid: '4i',
                index: '/building',
                title: '楼栋信息管理',
            },
            {
                id: '42',
                pid: '4i',
                index: '/building-rental',

                title: '出租信息管理',
            }
        ],
    },


    {
        id: '5',
        title: '物业项目',
        index: '5i',
        icon: 'iconfont icon-wuye',
        children: [
            {
                id: '51',
                pid: '5i',
                index: '/property-project',
                title: '项目信息维护',
            },
            {
                id: '52',
                pid: '5i',
                index: '/property-finance',
                title: '月度收支情况',
            }
        ],
    },

    {
        id: '6',
        title: '工程项目',
        index: '6i',
        icon: 'iconfont icon-gongchengguanli',
        children: [
            {
                id: '61',
                pid: '6i',
                index: '/engineer-project',

                title: '项目信息维护',
            },
            // {
            //     id: '62',
            //     pid: '6i',
            //     index: '/system-role',
            //     title: '月度收支情况',
            // }
        ],
    },

    {
        id: '7',
        title: '养老院',
        index: '7i',
        icon: 'iconfont icon-yanglaoyuan',
        children: [
            {
                id: '71',
                pid: '7i',
                index: '/elder-management',
                title: '入住管理',
            },
            {
                id: '72',
                pid: '7i',
                index: '/elder-finance',
                title: '月度收支情况',
            }
        ],
    },
    
    {
        id: '8',
        title: '微渐派工管理',
        index: '8i',
        icon: 'iconfont icon-paigongpingtaidaipaigong',
        children: [
            {
                id: '81',
                pid: '8i',
                index: '/weijian-project',

                title: '项目信息维护',
            },
            {
                id: '82',
                pid: '8i',
                index: '/weijian-worker',

                title: '派工管理',
            }
        ],
    },

    {
        id: '9',
        title: '市政管养',
        index: '9i',
        icon: 'iconfont icon-shizheng',
        children: [
            {
                id: '91',
                pid: '9i',
                index: '/area-management',

                title: '管养区域管理',
            },
            {
                id: '92',
                pid: '9i',
                index: '/area-work-type',

                title: '作业种类管理',
            },
            {
                id: '93',
                pid: '9i',
                index: '/area-work-log',
                title: '每日作业情况',
            }
        ],
    },

    {
        id: '10',
        title: '车辆管理',
        index: '10i',
        icon: 'iconfont icon-cheliang-',
        children: [
            {
                id: '101',
                pid: '10i',
                index: '/car-info',

                title: '基础信息维护',
            },
            {
                id: '102',
                pid: '10i',
                index: '/insurance-info',
                title: '保险情况',
            },
            {
                id: '103',
                pid: '10i',
                index: '/mileage-info',
                title: '每日里程更新',
            },
            {
                id: '104',
                pid: '10i',
                index: '/oil-info',

                title: '加油情况',
            }
        ],
    },

    {
        id: '11',
        title: '人事合同管理',
        index: '11i',
        icon: 'iconfont icon-renshiguanli',
        children: [
            {
                id: '111',
                pid: '11i',
                index: '/employee',

                title: '基础信息维护',
            },
            // {
            //     id: '112',
            //     pid: '11i',
            //     index: '/system-role',
            //     title: '劳动合同管理',
            // }
        ],
    },

    {
        id: '12',
        title: '公司管理',
        index: '12i',
        icon: 'iconfont icon-gongsiguanli',
        children: [
            {
                id: '121',
                pid: '12i',
                index: '/company-management',
                title: '公司信息维护',
            }
        ],
    },

    {
        id: '13',
        title: '用户管理',
        index: '13i',
        icon: 'iconfont icon-yonghuguanli',
        children: [
            {
                id: '131',
                pid: '13i',
                index: '/user-management',
                title: '用户信息维护',
            }
        ],
    },



    
    {
        id: '82',
        title: '组件',
        index: '2-1',
        icon: 'Calendar',
        children: [
            {
                id: '21',
                pid: '3',
                index: '/form',
                title: '表单',
            },
            {
                id: '22',
                pid: '3',
                index: '/upload',
                title: '上传',
            },
            {
                id: '23',
                pid: '2',
                index: '/carousel',
                title: '走马灯',
            },
            {
                id: '24',
                pid: '2',
                index: '/calendar',
                title: '日历',
            },
            {
                id: '25',
                pid: '2',
                index: '/watermark',
                title: '水印',
            },
            {
                id: '26',
                pid: '2',
                index: '/tour',
                title: '分布引导',
            },
            {
                id: '27',
                pid: '2',
                index: '/steps',
                title: '步骤条',
            },
            {
                id: '28',
                pid: '2',
                index: '/statistic',
                title: '统计',
            },
            {
                id: '29',
                pid: '3',
                index: '29',
                title: '三级菜单',
                children: [
                    {
                        id: '291',
                        pid: '29',
                        index: '/editor',
                        title: '富文本编辑器',
                    },
                    {
                        id: '292',
                        pid: '29',
                        index: '/markdown',
                        title: 'markdown编辑器',
                    },
                ],
            },
        ],
    },
    {
        id: '83',
        title: '表格',
        index: '3',
        icon: 'Calendar',
        children: [
            {
                id: '31',
                pid: '3',
                index: '/table',
                title: '基础表格',
            },
            {
                id: '32',
                pid: '3',
                index: '/table-editor',
                title: '可编辑表格',
            },
            {
                id: '33',
                pid: '3',
                index: '/import',
                title: '导入Excel',
            },
            {
                id: '34',
                pid: '3',
                index: '/export',
                title: '导出Excel',
            },
        ],
    },
    {
        id: '84',
        icon: 'PieChart',
        index: '4',
        title: '图表',
        children: [
            {
                id: '41',
                pid: '4',
                index: '/schart',
                title: 'schart图表',
            },
            {
                id: '42',
                pid: '4',
                index: '/echarts',
                title: 'echarts图表',
            },
        ],
    },
    {
        id: '85',
        icon: 'Guide',
        index: '/icon',
        title: '图标',
        permiss: '5',
    },
    {
        id: '87',
        icon: 'Brush',
        index: '/theme',
        title: '主题',
    },
    {
        id: '86',
        icon: 'DocumentAdd',
        index: '6',
        title: '附加页面',
        children: [
            {
                id: '61',
                pid: '6',
                index: '/ucenter',
                title: '个人中心',
            },
            {
                id: '62',
                pid: '6',
                index: '/login',
                title: '登录',
            },
            {
                id: '63',
                pid: '6',
                index: '/register',
                title: '注册',
            },
            {
                id: '64',
                pid: '6',
                index: '/reset-pwd',
                title: '重设密码',
            },
            {
                id: '65',
                pid: '6',
                index: '/403',
                title: '403',
            },
            {
                id: '66',
                pid: '6',
                index: '/404',
                title: '404',
            },
        ],
    },
];
